/*
 * @copyright fxsen <br/>
 * @date 2022/3/31 15:37 <br/>
 * @email <a href="mailto:fxsen@foxmail.com">
 * @author fxsen
 */
package com.fxsen.commons.sysmanager.core.service;


import com.fxsen.commons.core.base.common.service.ICommonService;
import com.fxsen.commons.sysmanager.core.entity.DictionaryDetail;

import java.util.List;

/**
 * 字典详情服务接口
 * @author fxsen
 * @date 2022/3/31 15:37
 * @email <a href="mailto:fxsen@foxmail.com">
 */
public interface IDictionaryDetailService extends ICommonService<DictionaryDetail> {
    /**
    * 通过字典id查询字典详情
    * @param dictionaryId 字典ID
    * @return {@link List}
    * @date 2022/4/25 22:21
    * @author fxsen <br/>
    * @email <a href="mailto:fxsen@foxmail.com">
    **/
    List<DictionaryDetail> getByDictionaryId(String dictionaryId);
    /**
    * 通过字典编码查询字典详情
    * @param code 字典编码
    * @return {@link List}
    * @date 2022/4/25 22:57
    * @author fxsen <br/>
    * @email <a href="mailto:fxsen@foxmail.com">
    **/
    List<DictionaryDetail> getByDictionaryCode(String code);
}
